package com.maven.front.aop;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: web-front
 * @description: 系统操作日志
 * @author: WangYiLong
 * @create: 2020-08-17 15:22
 **/
@Data
public class SysLog implements Serializable {
    private Long id;

    private String username; //用户名

    private String operation; //操作

    private String method; //方法名

    private String params; //参数

    private String ip; //ip地址

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate; //操作时间

}
